package com.it.shiro.sys.mapper;



import com.it.base.mapper.BaseMapper;
import com.it.shiro.sys.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @program: learning
 * @description:
 * @author: Lefnmg
 * @create: 2018-11-13 15:42
 **/
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 获取用户所有授权菜单
     * @param userId
     * @return
     */
    List<String> findPermsByUser(Long userId);
}
